//-------------------------------------------------------------------
//	Copyright (c) 2012-2014 Zhirnov Andrey
//	This file is part of the "UXGEN-ES" project.
//	See copyright notice in "Engine.h".
//-------------------------------------------------------------------

#pragma once

#include "UI/Widgets/Picture.h"

namespace Engine
{
namespace UI
{

	class Group;
	SHARED_POINTER( Group );



	//
	// Group
	//

	class Group : public Picture
	{
		friend struct ::MetaData::GroupCfg;

	// methods
	public:
		Group (EWidget::type wgtType, const EngineSubSystemsRef ess) : Picture(wgtType, ess)
		{}

		~Group ()
		{}
		
		//virtual bool ProcessMessage (const WidgetMsg &msg) override;

		
		static GroupPtr	New (const EngineSubSystemsRef ess)
		{
			return BaseObject::_New( new Group( EWidget::GROUP, ess ) );
		}
	};


}	// UI
}	// Engine